package com.ssy.lingxi.platform.template.service.model.dto.web;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 上下架模板 - DTO
 * @author fhj
 * @date 2020/10/17
 * @version 2.0.0
 */
@Data
public class ShelfTemplateDTO {

    @NotNull(message = "模板ID不能为空")
    @ApiModelProperty(value = "模板ID")
    private Long id;

    @NotNull(message = "上下架状态不能为空")
    @ApiModelProperty(value = "上下架状态: 1.上架 0.下架")
    private Integer shelf;
}
